﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SuppKids.Licensing.Common;

namespace SuppKids.Core.Domain
{
    public class DailyMenu:Entity
    {
        private ICollection<Dish> dishes = new List<Dish>();
        
        [Required]
        public DayOfWeek DayOfWeek { get; set; }
        [Required]
        public WeekNumber WeekNumber { get; set; }
        [Required]
        public MenuType MenuType { get; set; }
        [Required]
        public MealType MealType { get; set; }

        public virtual ICollection<Dish> Dishes
        {
            get { return dishes; }
            set { dishes = value; }
        }
    }
}